package com.zwj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 班级信息表
 * </p>
 *
 * @author zwj
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("class_info")
@ApiModel(value="ClassInfoEntity对象", description="班级信息表")
public class ClassInfoEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "物理id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "院系ID")
    @TableField("colleges_id")
    private String collegesId;

    @ApiModelProperty(value = "专业ID")
    @TableField("major_id")
    private String majorId;

    @ApiModelProperty(value = "年级ID")
    @TableField("year_info_id")
    private String yearInfoId;

    @ApiModelProperty(value = "班号ID")
    @TableField("class_base_info_id")
    private String classBaseInfoId;

    @ApiModelProperty(value = "班主任ID")
    @TableField("teacher_id")
    private String teacherId;

    @ApiModelProperty(value = "是否结业，参见YesOrNo枚举")
    @TableField("is_graduation")
    private String isGraduation;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private String updateTime;

}
